package com.timeriver.domain;

import lombok.Getter;

@Getter
public enum ResponseEnum {

    SUCCESS(0, "响应成功"),
    FAILED(1, "响应失败");

    /** 状态码 */
    private Integer code;
    /** 状态信息 */
    private String msg;

    ResponseEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
